package cn.k.service;

import cn.k.domain.Appointment;
import cn.k.qo.AppointmentQueryObject;
import cn.k.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAppointmentService {
    void insert(Appointment appointment);

    void delete(Long id);

    void update(Appointment appointment);

    Appointment get(Long id);

    List<Appointment> selectAll();

    List<Appointment> selectForList(AppointmentQueryObject qo);

    PageInfo<Appointment> query(AppointmentQueryObject qo);

    //状态更新
    void updateStatus(Long id, int status);
}
